package com.tanhua.dubbo.api;

import com.tanhua.model.domain.mongodb.Movement;
import com.tanhua.model.vo.PageResult;

/**
 * @author maorf
 * @version 1.0
 */
public interface MovementApi {
    void save(Movement movement);

    PageResult findMovementsById(Long userId, Integer page, Integer pagesize);

    PageResult findRecommendMovementsById(Long userId, Integer page, Integer pagesize);

    PageResult FindOwnMovementsById(Long userId, Integer page, Integer pagesize);

    Movement findById(String movementId);
}
